<!--
 * @Date: 2020-08-11 16:26:28
 * @LastEditors: zhiqinfff
 * @LastEditTime: 2021-01-24 01:54:01
 * @FilePath: /vue-wechat_auth/src/views/home/error.vue
-->
<template>
  <div class="error">
    <div class="handdle">
      <router-link to="index">
        <van-button type="primary">返回首页</van-button>
      </router-link>
    </div>
  </div>
</template>

<script>
import { Button } from 'vant';

export default {
  components: {
    vanButton: Button
  },
  methods: {
    gohome: () => {

    }
  }
}
</script>

<style scoped>
  .error {
    width: 100vw;
    height: 100vh;
    background: url('../../assets/404.jpg') no-repeat center top / cover;
  }
  .handdle{
    position: fixed;
    z-index: 10;
    bottom: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
</style>
